<template>
  <div class="font-sans">
    <!-- 导航栏 -->
    <Navbar :activeNavItem="activeNavItem" />
    
    <!-- 英雄区域 -->
    <section id="home" class="pt-24 pb-20 bg-gradient-to-br from-primary/5 to-secondary/5">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="flex flex-col lg:flex-row items-center">
          <div class="lg:w-1/2 mb-10 lg:mb-0">
            <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-bold text-neutral leading-tight mb-4">
              重庆省宠多多科技有限公司
            </h1>
            <p class="text-lg text-gray-700 mb-8 max-w-lg">
              专注于为宠物提供全方位智能服务的科技创新企业，让养宠生活更简单、更美好。
            </p>
            <div class="flex flex-wrap gap-4">
              <a href="#about" class="px-6 py-3 bg-primary text-white font-medium rounded-lg shadow-md hover:bg-primary/90 hover:shadow-lg transition-all hover:scale-105 duration-300">
                了解更多
              </a>
              <a href="#contact" class="px-6 py-3 bg-white text-primary font-medium rounded-lg border border-primary/30 shadow-sm hover:bg-primary/5 transition-all hover:scale-105 duration-300">
                联系我们
              </a>
            </div>
          </div>
          <div class="lg:w-1/2">
            <div class="relative">
              <div class="absolute -inset-4 bg-gradient-to-r from-primary to-secondary rounded-2xl blur-xl opacity-20 animate-pulse"></div>
              <img src="https://picsum.photos/id/169/800/600" alt="宠物与科技的结合" class="relative w-full h-auto rounded-xl shadow-lg hover:scale-105 transition-all duration-500">
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 公司简介 -->
    <section id="about" class="py-20 bg-white">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="text-center mb-16">
          <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-neutral mb-4">关于我们</h2>
          <div class="w-24 h-1 bg-primary mx-auto rounded-full mb-6"></div>
          <p class="text-gray-600 max-w-2xl mx-auto">
            重庆省宠多多科技有限公司是一家专注于宠物产业科技创新的企业，致力于为宠物主人提供全方位、智能化的宠物服务解决方案。
          </p>
        </div>
        
        <div class="flex flex-col lg:flex-row items-center gap-12">
          <div class="lg:w-1/2">
            <div class="relative">
              <div class="absolute -inset-4 bg-gradient-to-r from-pink-500 to-secondary rounded-2xl blur-xl opacity-10"></div>
              <img src="https://picsum.photos/id/237/600/400" alt="公司团队" class="relative w-full h-auto rounded-xl shadow-lg hover:scale-105 transition-all duration-500">
            </div>
          </div>
          <div class="lg:w-1/2">
            <h3 class="text-2xl font-bold text-neutral mb-4">公司简介</h3>
            <p class="text-gray-700 mb-4">
              重庆省宠多多科技有限公司成立于2020年，总部位于重庆市高新区，是一家集宠物智能设备研发、宠物健康管理、宠物社区平台运营于一体的综合性科技企业。
            </p>
            <p class="text-gray-700 mb-6">
              公司秉承"科技赋能养宠生活"的理念，依托人工智能、大数据分析等先进技术，为宠物主人提供智能硬件、移动应用、线上社区等多元化服务，旨在让养宠生活更简单、更科学、更快乐。
            </p>
            
            <div class="grid grid-cols-1 sm:grid-cols-2 gap-6 mb-8">
              <div class="flex items-start space-x-3">
                <div class="flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                  <i class="fa fa-lightbulb-o text-xl"></i>
                </div>
                <div>
                  <h4 class="font-semibold text-gray-900">创新理念</h4>
                  <p class="text-gray-600 text-sm">将最新科技应用于宠物行业，创造全新养宠体验</p>
                </div>
              </div>
              <div class="flex items-start space-x-3">
                <div class="flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                  <i class="fa fa-users text-xl"></i>
                </div>
                <div>
                  <h4 class="font-semibold text-gray-900">专业团队</h4>
                  <p class="text-gray-600 text-sm">汇聚行业精英，拥有丰富的宠物领域经验</p>
                </div>
              </div>
              <div class="flex items-start space-x-3">
                <div class="flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                  <i class="fa fa-heart text-xl"></i>
                </div>
                <div>
                  <h4 class="font-semibold text-gray-900">爱心服务</h4>
                  <p class="text-gray-600 text-sm">以宠物健康和主人需求为中心，提供贴心服务</p>
                </div>
              </div>
              <div class="flex items-start space-x-3">
                <div class="flex-shrink-0 w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                  <i class="fa fa-globe text-xl"></i>
                </div>
                <div>
                  <h4 class="font-semibold text-gray-900">广阔前景</h4>
                  <p class="text-gray-600 text-sm">引领宠物行业数字化转型，打造智慧养宠生态</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 行业趋势 -->
    <section id="market-trends" class="py-20 bg-neutral-light">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="text-center mb-16">
          <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-neutral mb-4">行业趋势</h2>
          <div class="w-24 h-1 bg-primary mx-auto rounded-full mb-6"></div>
          <p class="text-gray-600 max-w-2xl mx-auto">
            随着社会经济的发展和人们生活水平的提高，宠物经济正成为消费市场的重要组成部分。
          </p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
          <div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300 hover:translate-y-[-5px]">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-line-chart text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold text-neutral mb-3">市场规模持续增长</h3>
            <p class="text-gray-600 mb-4">
              中国宠物经济市场规模已突破3000亿元，年增长率保持在20%以上，预计未来5年将持续高速增长。
            </p>
            <div class="flex items-center text-primary font-medium">
              <span>了解更多</span>
              <i class="fa fa-arrow-right ml-2"></i>
            </div>
          </div>
          
          <div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300 hover:translate-y-[-5px]">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-mobile text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold text-neutral mb-3">智能化趋势明显</h3>
            <p class="text-gray-600 mb-4">
              宠物智能硬件市场需求激增，智能项圈、自动喂食器、宠物监控摄像头等产品受到越来越多宠物主人的青睐。
            </p>
            <div class="flex items-center text-primary font-medium">
              <span>了解更多</span>
              <i class="fa fa-arrow-right ml-2"></i>
            </div>
          </div>
          
          <div class="bg-white rounded-xl shadow-lg p-6 hover:shadow-xl transition-all duration-300 hover:translate-y-[-5px]">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-users text-2xl"></i>
            </div>
            <h3 class="text-xl font-bold text-neutral mb-3">养宠观念升级</h3>
            <p class="text-gray-600 mb-4">
              宠物主人越来越注重宠物的健康和生活质量，愿意为宠物提供更专业的医疗、营养和日常护理服务。
            </p>
            <div class="flex items-center text-primary font-medium">
              <span>了解更多</span>
              <i class="fa fa-arrow-right ml-2"></i>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 服务项目 -->
    <section id="services" class="py-20 bg-white">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="text-center mb-16">
          <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-neutral mb-4">服务项目</h2>
          <div class="w-24 h-1 bg-primary mx-auto rounded-full mb-6"></div>
          <p class="text-gray-600 max-w-2xl mx-auto">
            我们提供全方位的宠物智能服务，满足现代宠物主人的多样化需求。
          </p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
          <div class="flex items-center bg-neutral-light rounded-xl p-6 hover:bg-primary/5 transition-colors duration-300">
            <div class="flex-shrink-0 w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mr-6">
              <i class="fa fa-heartbeat text-2xl"></i>
            </div>
            <div>
              <h3 class="text-xl font-bold text-neutral mb-2">宠物健康管理系统</h3>
              <p class="text-gray-600">
                通过智能设备和移动应用，实时监测宠物健康数据，提供个性化的健康管理方案。
              </p>
            </div>
          </div>
          
          <div class="flex items-center bg-neutral-light rounded-xl p-6 hover:bg-primary/5 transition-colors duration-300">
            <div class="flex-shrink-0 w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mr-6">
              <i class="fa fa-cutlery text-2xl"></i>
            </div>
            <div>
              <h3 class="text-xl font-bold text-neutral mb-2">智能喂食解决方案</h3>
              <p class="text-gray-600">
                智能喂食器和营养管理系统，根据宠物的年龄、体重和健康状况，提供科学的饮食方案。
              </p>
            </div>
          </div>
          
          <div class="flex items-center bg-neutral-light rounded-xl p-6 hover:bg-primary/5 transition-colors duration-300">
            <div class="flex-shrink-0 w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mr-6">
              <i class="fa fa-video-camera text-2xl"></i>
            </div>
            <div>
              <h3 class="text-xl font-bold text-neutral mb-2">宠物远程监护</h3>
              <p class="text-gray-600">
                通过智能摄像头，随时随地查看宠物状态，与宠物互动，确保宠物安全。
              </p>
            </div>
          </div>
          
          <div class="flex items-center bg-neutral-light rounded-xl p-6 hover:bg-primary/5 transition-colors duration-300">
            <div class="flex-shrink-0 w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mr-6">
              <i class="fa fa-comments text-2xl"></i>
            </div>
            <div>
              <h3 class="text-xl font-bold text-neutral mb-2">宠物主人社区</h3>
              <p class="text-gray-600">
                提供宠物主人交流平台，分享养宠经验，获取专业知识，结识志同道合的朋友。
              </p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 公司优势 -->
    <section id="advantages" class="py-20 bg-gradient-to-br from-primary/5 to-secondary/5">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="text-center mb-16">
          <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-neutral mb-4">公司优势</h2>
          <div class="w-24 h-1 bg-primary mx-auto rounded-full mb-6"></div>
          <p class="text-gray-600 max-w-2xl mx-auto">
            我们拥有强大的技术研发能力和丰富的行业经验，为客户提供高品质的产品和服务。
          </p>
        </div>
        
        <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
          <div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-all duration-300">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-lightbulb-o text-2xl"></i>
            </div>
            <h3 class="text-2xl font-bold text-neutral mb-4">创新理念</h3>
            <p class="text-gray-600">
              我们不断探索新技术在宠物行业的应用，致力于为宠物主人提供更便捷、更智能的养宠体验。我们的研发团队由行业专家和技术精英组成，拥有丰富的创新经验和实践能力。
            </p>
          </div>
          
          <div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-all duration-300">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-users text-2xl"></i>
            </div>
            <h3 class="text-2xl font-bold text-neutral mb-4">专业团队</h3>
            <p class="text-gray-600">
              我们的团队由宠物行业专家、技术研发人员和服务人员组成，拥有丰富的行业经验和专业知识。我们注重团队建设和人才培养，不断提升团队的专业能力和服务水平。
            </p>
          </div>
          
          <div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-all duration-300">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-heart text-2xl"></i>
            </div>
            <h3 class="text-2xl font-bold text-neutral mb-4">爱心服务</h3>
            <p class="text-gray-600">
              我们坚持以宠物健康和主人需求为中心，提供贴心、专业的服务。我们的服务团队经过严格培训，能够为客户提供个性化的解决方案和优质的服务体验。
            </p>
          </div>
          
          <div class="bg-white rounded-xl shadow-lg p-8 hover:shadow-xl transition-all duration-300">
            <div class="w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center text-primary mb-6">
              <i class="fa fa-globe text-2xl"></i>
            </div>
            <h3 class="text-2xl font-bold text-neutral mb-4">广阔前景</h3>
            <p class="text-gray-600">
              我们正引领宠物行业数字化转型，打造智慧养宠生态。我们与多家知名企业和机构建立了合作关系，共同推动宠物行业的创新发展，为客户创造更大价值。
            </p>
          </div>
        </div>
      </div>
    </section>

    <!-- 联系我们 -->
    <section id="contact" class="py-20 bg-white">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="text-center mb-16">
          <h2 class="text-[clamp(1.8rem,4vw,2.5rem)] font-bold text-neutral mb-4">联系我们</h2>
          <div class="w-24 h-1 bg-primary mx-auto rounded-full mb-6"></div>
          <p class="text-gray-600 max-w-2xl mx-auto">
            无论您是宠物主人、合作伙伴还是对我们的产品和服务感兴趣的朋友，都欢迎与我们联系。
          </p>
        </div>
        
        <div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
          <div>
            <div class="bg-neutral-light rounded-xl p-8 mb-8">
              <h3 class="text-2xl font-bold text-neutral mb-6">联系方式</h3>
              
              <div class="space-y-6">
                <div class="flex items-start space-x-4">
                  <div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                    <i class="fa fa-map-marker text-xl"></i>
                  </div>
                  <div>
                    <h4 class="font-semibold text-gray-900 mb-1">公司地址</h4>
                    <p class="text-gray-600">重庆市高新区科技园区创新大道100号</p>
                  </div>
                </div>
                
                <div class="flex items-start space-x-4">
                  <div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                    <i class="fa fa-phone text-xl"></i>
                  </div>
                  <div>
                    <h4 class="font-semibold text-gray-900 mb-1">联系电话</h4>
                    <p class="text-gray-600">023-12345678</p>
                  </div>
                </div>
                
                <div class="flex items-start space-x-4">
                  <div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary">
                    <i class="fa fa-envelope text-xl"></i>
                  </div>
                  <div>
                    <h4 class="font-semibold text-gray-900 mb-1">电子邮箱</h4>
                    <p class="text-gray-600">info@petduoduo.com</p>
                  </div>
                </div>
              </div>
            </div>
            
            <div class="bg-neutral-light rounded-xl p-8">
              <h3 class="text-2xl font-bold text-neutral mb-6">关注我们</h3>
              
              <div class="flex space-x-6">
                <a href="#" class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-colors duration-300">
                  <i class="fa fa-weixin text-xl"></i>
                </a>
                
                <a href="#" class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-colors duration-300">
                  <i class="fa fa-weibo text-xl"></i>
                </a>
                
                <a href="#" class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-colors duration-300">
                  <i class="fa fa-qq text-xl"></i>
                </a>
                
                <a href="#" class="w-12 h-12 rounded-full bg-primary/10 flex items-center justify-center text-primary hover:bg-primary hover:text-white transition-colors duration-300">
                  <i class="fa fa-instagram text-xl"></i>
                </a>
              </div>
            </div>
          </div>
          
          <div>
            <div class="bg-neutral-light rounded-xl p-8">
              <h3 class="text-2xl font-bold text-neutral mb-6">发送消息</h3>
              
              <form @submit.prevent="sendMessage">
                <div class="mb-6">
                  <label for="name" class="block text-sm font-medium text-gray-700 mb-2">您的姓名</label>
                  <input type="text" id="name" v-model="formData.name" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-colors" placeholder="请输入您的姓名">
                </div>
                
                <div class="mb-6">
                  <label for="email" class="block text-sm font-medium text-gray-700 mb-2">电子邮箱</label>
                  <input type="email" id="email" v-model="formData.email" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-colors" placeholder="请输入您的电子邮箱">
                </div>
                
                <div class="mb-6">
                  <label for="phone" class="block text-sm font-medium text-gray-700 mb-2">联系电话</label>
                  <input type="tel" id="phone" v-model="formData.phone" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-colors" placeholder="请输入您的联系电话">
                </div>
                
                <div class="mb-6">
                  <label for="subject" class="block text-sm font-medium text-gray-700 mb-2">主题</label>
                  <input type="text" id="subject" v-model="formData.subject" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-colors" placeholder="请输入消息主题">
                </div>
                
                <div class="mb-6">
                  <label for="message" class="block text-sm font-medium text-gray-700 mb-2">消息内容</label>
                  <textarea id="message" v-model="formData.message" rows="5" class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary transition-colors" placeholder="请输入您的消息内容"></textarea>
                </div>
                
                <button type="submit" class="w-full px-6 py-3 bg-primary text-white font-medium rounded-lg shadow-md hover:bg-primary/90 hover:shadow-lg transition-all hover:scale-105 duration-300" @click="createRipple">
                  发送消息
                </button>
              </form>
            </div>
          </div>
        </div>
        
        <!-- ICP备案信息，分别放在左下和右下 -->
        <div class="mt-12 text-gray-400 flex justify-between">
          <div class="text-base">渝ICP备2023008922号</div>
          <div class="text-base">渝ICP备2023003524号</div>
        </div>
      </div>
    </section>

    <!-- 页脚 -->
    <footer class="bg-neutral-dark py-10 text-white">
      <div class="container mx-auto px-4 sm:px-6 lg:px-8">
        <div class="flex flex-col md:flex-row justify-between items-center">
          <div class="flex items-center mb-6 md:mb-0">
            <i class="fa fa-paw text-primary text-2xl mr-3"></i>
            <span class="text-xl font-bold">宠多多科技</span>
          </div>
          <div class="text-center md:text-right">
            <p class="text-gray-400">© 2023 重庆省宠多多科技有限公司. 保留所有权利.</p>
            <p class="text-gray-400 mt-2">科技赋能养宠生活</p>
          </div>
        </div>
      </div>
    </footer>

    <!-- 回到顶部按钮 -->
    <button id="back-to-top" class="fixed bottom-6 right-6 w-12 h-12 rounded-full bg-primary text-white flex items-center justify-center shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-primary/90" ref="backToTopButton">
      <i class="fa fa-arrow-up"></i>
    </button>
  </div>
</template>

<script>
import Navbar from './components/Navbar.vue'

export default {
  name: 'App',
  components: {
    Navbar
  },
  data() {
    return {
      activeNavItem: 'home',
      formData: {
        name: '',
        email: '',
        phone: '',
        subject: '',
        message: ''
      }
    }
  },
  mounted() {
    // 监听滚动事件，更新活动导航项和显示/隐藏回到顶部按钮
    window.addEventListener('scroll', this.handleScroll)
    
    // 初始检查滚动位置
    this.checkScrollPosition()
  },
  beforeUnmount() {
    window.removeEventListener('scroll', this.handleScroll)
  },
  methods: {
    handleScroll() {
      // 更新活动导航项
      this.updateActiveNavItem()
      
      // 显示/隐藏回到顶部按钮
      this.checkScrollPosition()
    },
    
    updateActiveNavItem() {
      const sections = ['home', 'about', 'market-trends', 'services', 'advantages', 'contact']
      
      for (const section of sections) {
        const element = document.getElementById(section)
        if (element) {
          const rect = element.getBoundingClientRect()
          if (rect.top <= 100 && rect.bottom >= 100) {
            this.activeNavItem = section
            break
          }
        }
      }
    },
    
    checkScrollPosition() {
      const backToTopButton = this.$refs.backToTopButton
      if (backToTopButton) {
        if (window.scrollY > 300) {
          backToTopButton.classList.remove('opacity-0', 'invisible')
          backToTopButton.classList.add('opacity-100', 'visible')
        } else {
          backToTopButton.classList.remove('opacity-100', 'visible')
          backToTopButton.classList.add('opacity-0', 'invisible')
        }
      }
    },
    
    sendMessage() {
      // 表单验证
      if (!this.formData.name || !this.formData.email || !this.formData.message) {
        alert('请填写必要的信息')
        return
      }
      
      // 模拟提交成功
      alert('消息发送成功，我们将尽快与您联系！')
      
      // 重置表单
      this.formData = {
        name: '',
        email: '',
        phone: '',
        subject: '',
        message: ''
      }
    },
    
    createRipple(event) {
      // 创建涟漪效果
      const button = event.currentTarget
      const circle = document.createElement('span')
      const diameter = Math.max(button.clientWidth, button.clientHeight)
      const radius = diameter / 2
      
      circle.style.width = circle.style.height = `${diameter}px`
      circle.style.left = `${event.clientX - button.getBoundingClientRect().left - radius}px`
      circle.style.top = `${event.clientY - button.getBoundingClientRect().top - radius}px`
      circle.classList.add('ripple')
      
      const ripple = button.getElementsByClassName('ripple')[0]
      if (ripple) {
        ripple.remove()
      }
      
      button.appendChild(circle)
    }
  }
}
</script>

<style>
/* 涟漪效果样式 */
.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
</style>